/*
** destroy.c for philosophes in /home/cedric/work/cunix/philo/srcs
** 
** Made by kevin costa
** Login   <costa_k@epitech.net>
** 
** Started on  Wed May  4 16:18:07 2011 kevin costa
** Last update Wed May  4 17:47:10 2011 kevin costa
*/

#include <stdlib.h>
#include "philo.h"

void		destroy(t_philo *p)
{
  if (p->next)
    destroy(p->next);
  free(p);
}
